package com.geek.boot3vue.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author chenmin
 * @desc TODO
 * @date 2025/9/11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_user")
public class User {

    @TableId(value = "id" , type = IdType.AUTO)
    private Long id;

    private String name;
    private Integer age;
    private String email;

    @TableField("hero_img")
    private String heroImg;

}
